<?php
class Zend_View_Helper_InvitationComment {
	protected $_view;
	function setView($view) { 
		$this->_view = $view; 
	} 
	function invitationComment( $invited_user_id, $invitation_id, $user_data) {
		
	$invitation_static = new Invitation();
		
	   $this->_view->messages = $invitation_static->findAllComment($invitation_id);
	   $this->_view->invited_user_id = $invited_user_id;
	   $this->_view->invitation_id = $invitation_id;
	   $this->_view->user_data = $user_data;
	   
       $out = $this->_view->render('/invitation/InvitationComment.phtml');
       return $out;
	}
}
?>